package com.css.project.oa.phoneMenu.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.css.framework.aspectj.lang.annotation.Excel;
import com.css.framework.web.domain.BaseEntity;

/**
 * 手机菜单管理对象 pro_phone_menu
 * 
 * @author css
 * @date 2020-06-12
 */
public class ProPhoneMenu extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 上级id */
    @Excel(name = "上级id")
    private Long parentId;

    /** 菜单名称 */
    @Excel(name = "菜单名称")
    private String menuName;
    private String orderNum;

    /** 图标路径 */
    @Excel(name = "图标路径")
    private String menuPicPath;

    /** 菜单链接 */
    @Excel(name = "菜单链接")
    private String menuUrl;

    /** 菜单备注 */
    @Excel(name = "菜单备注")
    private String menuMark;

    /** 是否是菜单（是则是图标 否则是大分类） */
    @Excel(name = "是否是菜单", readConverterExp = "是=则是图标,否=则是大分类")
    private String isMenu;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    
    public void setMenuName(String menuName) 
    {
        this.menuName = menuName;
    }

    public String getMenuName() 
    {
        return menuName;
    }
    public void setMenuPicPath(String menuPicPath) 
    {
        this.menuPicPath = menuPicPath;
    }

    public String getMenuPicPath() 
    {
        return menuPicPath;
    }
    public void setMenuUrl(String menuUrl) 
    {
        this.menuUrl = menuUrl;
    }

    public String getMenuUrl() 
    {
        return menuUrl;
    }
    public void setMenuMark(String menuMark) 
    {
        this.menuMark = menuMark;
    }

    public String getMenuMark() 
    {
        return menuMark;
    }
    public void setIsMenu(String isMenu) 
    {
        this.isMenu = isMenu;
    }

    public String getIsMenu() 
    {
        return isMenu;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentId", getParentId())
            .append("menuName", getMenuName())
            .append("menuPicPath", getMenuPicPath())
            .append("menuUrl", getMenuUrl())
            .append("menuMark", getMenuMark())
            .append("isMenu", getIsMenu())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .toString();
    }

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public String getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(String orderNum) {
		this.orderNum = orderNum;
	}
}
